home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / printcad.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-08-30  |  6.1 KB  |  228 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 5.01.0164 */
  5. /* at Thu Aug 30 20:37:40 2007
  6.  */
  7. /* Compiler settings for d:\tc14\SDKv14\Samples\vc\server\PrintCAD\PrintCAD.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: allocation ref bounds_check enum stub_data 
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13.  
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18.  
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21.  
  22. #ifndef __RPCNDR_H_VERSION__
  23. #error this stub requires an updated version of <rpcndr.h>
  24. #endif // __RPCNDR_H_VERSION__
  25.  
  26. #ifndef COM_NO_WINDOWS_H
  27. #include "windows.h"
  28. #include "ole2.h"
  29. #endif /*COM_NO_WINDOWS_H*/
  30.  
  31. #ifndef __PrintCAD_h__
  32. #define __PrintCAD_h__
  33.  
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif 
  37.  
  38. /* Forward Declarations */ 
  39.  
  40. #ifndef __IPrintDr_FWD_DEFINED__
  41. #define __IPrintDr_FWD_DEFINED__
  42. typedef interface IPrintDr IPrintDr;
  43. #endif     /* __IPrintDr_FWD_DEFINED__ */
  44.  
  45.  
  46. #ifndef __PrintDr_FWD_DEFINED__
  47. #define __PrintDr_FWD_DEFINED__
  48.  
  49. #ifdef __cplusplus
  50. typedef class PrintDr PrintDr;
  51. #else
  52. typedef struct PrintDr PrintDr;
  53. #endif /* __cplusplus */
  54.  
  55. #endif     /* __PrintDr_FWD_DEFINED__ */
  56.  
  57.  
  58. /* header files for imported files */
  59. #include "oaidl.h"
  60. #include "ocidl.h"
  61.  
  62. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  63. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  64.  
  65. #ifndef __IPrintDr_INTERFACE_DEFINED__
  66. #define __IPrintDr_INTERFACE_DEFINED__
  67.  
  68. /* interface IPrintDr */
  69. /* [unique][helpstring][dual][uuid][object] */ 
  70.  
  71.  
  72. EXTERN_C const IID IID_IPrintDr;
  73.  
  74. #if defined(__cplusplus) && !defined(CINTERFACE)
  75.     
  76.     MIDL_INTERFACE("7364EA8D-AEB3-11D2-8C26-00403338C504")
  77.     IPrintDr : public IDispatch
  78.     {
  79.     public:
  80.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PrintAll( 
  81.             LPDISPATCH WhichDrawing,
  82.             long hPrintDC) = 0;
  83.         
  84.     };
  85.     
  86. #else     /* C style interface */
  87.  
  88.     typedef struct IPrintDrVtbl
  89.     {
  90.         BEGIN_INTERFACE
  91.         
  92.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  93.             IPrintDr __RPC_FAR * This,
  94.             /* [in] */ REFIID riid,
  95.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  96.         
  97.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  98.             IPrintDr __RPC_FAR * This);
  99.         
  100.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  101.             IPrintDr __RPC_FAR * This);
  102.         
  103.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  104.             IPrintDr __RPC_FAR * This,
  105.             /* [out] */ UINT __RPC_FAR *pctinfo);
  106.         
  107.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  108.             IPrintDr __RPC_FAR * This,
  109.             /* [in] */ UINT iTInfo,
  110.             /* [in] */ LCID lcid,
  111.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  112.         
  113.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  114.             IPrintDr __RPC_FAR * This,
  115.             /* [in] */ REFIID riid,
  116.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  117.             /* [in] */ UINT cNames,
  118.             /* [in] */ LCID lcid,
  119.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  120.         
  121.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  122.             IPrintDr __RPC_FAR * This,
  123.             /* [in] */ DISPID dispIdMember,
  124.             /* [in] */ REFIID riid,
  125.             /* [in] */ LCID lcid,
  126.             /* [in] */ WORD wFlags,
  127.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  128.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  129.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  130.             /* [out] */ UINT __RPC_FAR *puArgErr);
  131.         
  132.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PrintAll )( 
  133.             IPrintDr __RPC_FAR * This,
  134.             LPDISPATCH WhichDrawing,
  135.             long hPrintDC);
  136.         
  137.         END_INTERFACE
  138.     } IPrintDrVtbl;
  139.  
  140.     interface IPrintDr
  141.     {
  142.         CONST_VTBL struct IPrintDrVtbl __RPC_FAR *lpVtbl;
  143.     };
  144.  
  145.     
  146.  
  147. #ifdef COBJMACROS
  148.  
  149.  
  150. #define IPrintDr_QueryInterface(This,riid,ppvObject)    \
  151.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  152.  
  153. #define IPrintDr_AddRef(This)    \
  154.     (This)->lpVtbl -> AddRef(This)
  155.  
  156. #define IPrintDr_Release(This)    \
  157.     (This)->lpVtbl -> Release(This)
  158.  
  159.  
  160. #define IPrintDr_GetTypeInfoCount(This,pctinfo)    \
  161.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  162.  
  163. #define IPrintDr_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  164.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  165.  
  166. #define IPrintDr_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  167.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  168.  
  169. #define IPrintDr_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  170.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  171.  
  172.  
  173. #define IPrintDr_PrintAll(This,WhichDrawing,hPrintDC)    \
  174.     (This)->lpVtbl -> PrintAll(This,WhichDrawing,hPrintDC)
  175.  
  176. #endif /* COBJMACROS */
  177.  
  178.  
  179. #endif     /* C style interface */
  180.  
  181.  
  182.  
  183. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPrintDr_PrintAll_Proxy( 
  184.     IPrintDr __RPC_FAR * This,
  185.     LPDISPATCH WhichDrawing,
  186.     long hPrintDC);
  187.  
  188.  
  189. void __RPC_STUB IPrintDr_PrintAll_Stub(
  190.     IRpcStubBuffer *This,
  191.     IRpcChannelBuffer *_pRpcChannelBuffer,
  192.     PRPC_MESSAGE _pRpcMessage,
  193.     DWORD *_pdwStubPhase);
  194.  
  195.  
  196.  
  197. #endif     /* __IPrintDr_INTERFACE_DEFINED__ */
  198.  
  199.  
  200.  
  201. #ifndef __PRINTCADLib_LIBRARY_DEFINED__
  202. #define __PRINTCADLib_LIBRARY_DEFINED__
  203.  
  204. /* library PRINTCADLib */
  205. /* [helpstring][version][uuid] */ 
  206.  
  207.  
  208. EXTERN_C const IID LIBID_PRINTCADLib;
  209.  
  210. EXTERN_C const CLSID CLSID_PrintDr;
  211.  
  212. #ifdef __cplusplus
  213.  
  214. class DECLSPEC_UUID("7364EA8F-AEB3-11D2-8C26-00403338C504")
  215. PrintDr;
  216. #endif
  217. #endif /* __PRINTCADLib_LIBRARY_DEFINED__ */
  218.  
  219. /* Additional Prototypes for ALL interfaces */
  220.  
  221. /* end of Additional Prototypes */
  222.  
  223. #ifdef __cplusplus
  224. }
  225. #endif
  226.  
  227. #endif
  228.